import { ControlType as TYPE } from "@components";
// import {RULE_REQUIRED} from '../../../config/rules'

const getFields =() => {
    return[
    {
        name:'unitName',
        label:'归属机构',
        controlType:TYPE.SELECT,
        codeKey:'unitName',
        options:[
            {
                code:'0',
                label:'北京总公司'
            },
            {
                code:'1',
                label:'广东分公司'
            },
            {
                code:'2',
                label:'浙江分公司'
            },
            {
                code:'3',
                label:'湖南分公司'
            },
        ]
        // rules: [{ required: true, message: '不允许为空' }]
    },
    {
        name:'areaName',
        label:'区域列表',
        controlType:TYPE.SELECT,
        codeKey:'areaName',
        options:[
            {
                code:'0',
                label:'区域名称0'
            },
            {
                code:'1',
                label:'区域名称1'
            },
        ]
    }
]
}


export  { getFields }